Mollie\WooCommerce\Payment\MollieOrderService B

Total Complexity 79
Dependencies 7
Dependents 4
Total lines 809
Lines of code 493
Logical lines of code 223
Comment lines 172
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
processChargebacks()
B
29
17 156
onWebhookAction()
B
36 15 76
updateOrderStatus()
A
54 8 21
orderNeedsPayment()
S
54 6 20
processRefunds()
S
45 4 46
findRefundIdsByLinks()
S
57 3 16
notifyProcessedRefunds()
S
53 2 27
getProcessedRefundIds()
S
59 2 15
getPaymentMethodTitle()
S
64 3 10
updateStateRefund()
S
59 1 17
setBillingAddressAfterPayment()
S
58 1 16
paymentTestModeNote()
S
71 2 5
processUpdateStateRefund()
S
66 2 10
calculateRefundByLine()
S
67 2 8
isPartialRefund()
S
69 2 6
findRefundIds()
S
71 2 6
renderNote()
S
61 1 14
setGateway()
S
81 1 3
findRefundIdsByLine()
S
74 1 5
hasLineRefund()
S
80 1 3
isOrderPaidByOtherGateway()
S
79 1 3
isOrderPaidAndProcessed()
S
79 1 3
__construct()
S
69 1 7